package com.lucky.auth_boot.config;

//import com.lucky.auth_boot.interceptor.UserInterceptor;
import jakarta.annotation.Resource;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@Configuration
public class WebConfigFilter implements WebMvcConfigurer {

//    @Resource
//    private UserInterceptor userInterceptor;

//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(userInterceptor)
//                .addPathPatterns("/**")
//                .excludePathPatterns("/admin/login")
//                .excludePathPatterns("/user/register");
//    }

}
